package com.ibeeking.found.upms.b.rest.service;

import com.ibeeking.found.upms.service.common.bo.OpenUrlRelationBO;
import com.ibeeking.found.upms.service.common.param.OpenUrlUserParam;
import com.ibeeking.found.upms.service.common.param.OpenUserUrlParam;

import java.util.List;

/**
 * @ClassName IOpenUrlRelation
 * @Description
 * @Author ibeeking
 * @Date 2021-04-01 11:10
 **/
public interface IOpenUrlRelationService {

    Boolean delByUserId(Long openUserId);

    Boolean delByUrlId(Long openUrlId);

    Boolean modifyByOpenUrlId(OpenUrlUserParam param);

    Boolean modifyByOpenUserId(OpenUserUrlParam param);

    List<OpenUrlRelationBO> queryByUrlId(Long openUrlId);

    List<OpenUrlRelationBO> queryByUserId(Long openUserId);
}
